package com.ces.knacky.controller.tools;

import java.util.List;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.ces.knacky.framework.controller.ListController;

@Controller
public class ListCategoryController<Category> extends ListController<Category> {

	@RequestMapping("/listCategory.htm")
	public String execute(){
		listEntity = (List<Category>) commonService.list("SELECT category from Category category");
		return "listCategory";
	}
}
